added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / CSDetectWindowsSessionState / MainForm.Designer.cs
blob5e4b414f9fc4a26e84ccafb88ea51c4d09aebc8f
1 using System.Security.Permissions;
2 namespace CSDetectWindowsSessionState
4 partial class MainForm
6 /// <summary>
7 /// Required designer variable.
8 /// </summary>
9 private System.ComponentModel.IContainer components = null;
11 /// <summary>
12 /// Clean up any resources being used.
13 /// </summary>
14 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
15 [PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
16 protected override void Dispose(bool disposing)
18 if (disposing && session != null)
20 session.Dispose();
23 if (disposing && (components != null))
25 components.Dispose();
27 base.Dispose(disposing);
30 #region Windows Form Designer generated code
32 /// <summary>
33 /// Required method for Designer support - do not modify
34 /// the contents of this method with the code editor.
35 /// </summary>
36 private void InitializeComponent()
38 this.pnlState = new System.Windows.Forms.Panel();
39 this.chkEnableTimer = new System.Windows.Forms.CheckBox();
40 this.lbState = new System.Windows.Forms.Label();
41 this.pnlList = new System.Windows.Forms.Panel();
42 this.lstRecord = new System.Windows.Forms.ListBox();
43 this.pnlState.SuspendLayout();
44 this.pnlList.SuspendLayout();
45 this.SuspendLayout();
46 //
47 // pnlState
48 //
49 this.pnlState.Controls.Add(this.chkEnableTimer);
50 this.pnlState.Controls.Add(this.lbState);
51 this.pnlState.Dock = System.Windows.Forms.DockStyle.Top;
52 this.pnlState.Location = new System.Drawing.Point(0, 0);
53 this.pnlState.Name = "pnlState";
54 this.pnlState.Size = new System.Drawing.Size(783, 29);
55 this.pnlState.TabIndex = 0;
56 //
57 // chkEnableTimer
58 //
59 this.chkEnableTimer.AutoSize = true;
60 this.chkEnableTimer.Location = new System.Drawing.Point(468, 7);
61 this.chkEnableTimer.Name = "chkEnableTimer";
62 this.chkEnableTimer.Size = new System.Drawing.Size(304, 17);
63 this.chkEnableTimer.TabIndex = 1;
64 this.chkEnableTimer.Text = "Enable a timer to detect the session state every 5 seconds ";
65 this.chkEnableTimer.UseVisualStyleBackColor = true;
66 this.chkEnableTimer.CheckedChanged += new System.EventHandler(this.chkEnableTimer_CheckedChanged);
67 //
68 // lbState
69 //
70 this.lbState.AutoSize = true;
71 this.lbState.Location = new System.Drawing.Point(13, 8);
72 this.lbState.Name = "lbState";
73 this.lbState.Size = new System.Drawing.Size(69, 13);
74 this.lbState.TabIndex = 0;
75 this.lbState.Text = "Current State";
76 //
77 // pnlList
78 //
79 this.pnlList.Controls.Add(this.lstRecord);
80 this.pnlList.Dock = System.Windows.Forms.DockStyle.Fill;
81 this.pnlList.Location = new System.Drawing.Point(0, 29);
82 this.pnlList.Name = "pnlList";
83 this.pnlList.Size = new System.Drawing.Size(783, 149);
84 this.pnlList.TabIndex = 1;
85 //
86 // lstRecord
87 //
88 this.lstRecord.Dock = System.Windows.Forms.DockStyle.Fill;
89 this.lstRecord.FormattingEnabled = true;
90 this.lstRecord.Location = new System.Drawing.Point(0, 0);
91 this.lstRecord.Name = "lstRecord";
92 this.lstRecord.Size = new System.Drawing.Size(783, 149);
93 this.lstRecord.TabIndex = 0;
94 //
95 // MainForm
96 //
97 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
98 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
99 this.ClientSize = new System.Drawing.Size(783, 178);
100 this.Controls.Add(this.pnlList);
101 this.Controls.Add(this.pnlState);
102 this.Name = "MainForm";
103 this.Text = "DetectWindowsSessionState";
104 this.Load += new System.EventHandler(this.MainForm_Load);
105 this.pnlState.ResumeLayout(false);
106 this.pnlState.PerformLayout();
107 this.pnlList.ResumeLayout(false);
108 this.ResumeLayout(false);
112 #endregion
114 private System.Windows.Forms.Panel pnlState;
115 private System.Windows.Forms.Label lbState;
116 private System.Windows.Forms.Panel pnlList;
117 private System.Windows.Forms.ListBox lstRecord;
118 private System.Windows.Forms.CheckBox chkEnableTimer;